<template>
  <el-form label-position="left" label-width="124px" ref="diaForm"
           :model="data">
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="设备名称：" prop="equipmentname">
          <el-input size="small" v-model="data.equipmentname"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="停机时间：" prop="downtime">
          <el-input size="small" v-model="data.downtime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="操作人：" prop="operatePerson">
          <el-input size="small" v-model="data.operatePerson"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障情况描述：" prop="faultDescription">
          <el-input size="small" v-model="data.faultDescription"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修开始时间：" prop="startTime">
          <el-input size="small" v-model="data.startTime"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="维修结束时间：" prop="endTime">
          <el-input size="small" v-model="data.endTime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="维修负责人：" prop="personincharge">
          <el-input size="small" v-model="data.personincharge"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="维修人员：" prop="repairPerson">
          <el-input size="small" v-model="data.repairPerson"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="故障原因分析：" prop="faultAnalysis">
          <el-input size="small" v-model="data.faultAnalysis"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="维修方法：" prop="repairMethod">
          <el-input size="small" v-model="data.repairMethod"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row class="row_margin_bottom" :gutter="30">
      <el-col :span="12">
        <el-form-item label="提出人：" prop="methodPerson">
          <el-input size="small" v-model="data.methodPerson"></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="故障恢复时间：" prop="recoveryTime">
          <el-input size="small" v-model="data.recoveryTime"></el-input>
        </el-form-item>
      </el-col>
    </el-row>
    <el-row>
      <el-col :span="24">
        <el-form-item label="检查人：" prop="checkPerson">
          <el-input
            type="textarea"
            :autosize="{ minRows: 2, maxRows: 4}"
            resize="none"
            v-model="data.checkPerson">
          </el-input>
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>

<script>
export default {
  name: 'editForm',
  props: {
    data: { type: Object }
  },
  data () {
    return {
    }
  }
}
</script>

<style scoped>

</style>
